package 设计模式.观察者模式.普通实现方式;

import java.math.BigDecimal;

public class Main {
    public static void main(String[] args) {
        Billboard billboard = new Billboard();
        Monitor monitor = new Monitor();
        Stock stock = new Stock(billboard, monitor);
        stock.setPrice(new BigDecimal(1027.222));
    }
}
